package com.library.picture.books.entity;

import com.library.common.annotation.Excel;
import com.library.common.core.domain.BaseEntity;
import com.library.picture.books.model.PageModel;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.util.List;

/**
 * 绘本管理对象 picture_books_info
 *
 * @author wanghongjie
 * @date 2022-04-26
 */
@Data
public class PictureBooksInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    private String id;

    /**
     * 绘本编号
     */
    @Excel(name = "绘本编号")
    private String pictureBookNo;

    /**
     * 绘本名称
     */
    @Excel(name = "绘本名称")
    private String pictureBookName;

    /**
     * 绘本简介
     */
    @Excel(name = "绘本简介")
    private String pictureBookIntroduction;

    /**
     * 绘本封面
     */
    private String pictureCover;

    /**
     * 绘本分类
     */
    private String pictureTypeNo;

    /**
     * 作者
     */
    @Excel(name = "作者")
    private String author;

    /**
     * 阅读数量
     */
    @Excel(name = "阅读数量")
    private Long readNumber;

    /**
     * 绘本音频
     */
    @Excel(name = "绘本音频")
    private String pictureAudio;

    /**
     * 绘本视频
     */
    @Excel(name = "绘本视频")
    private String pictureVideo;

    /**
     * 绘本状态
     */
    @Excel(name = "绘本状态")
    private Long status;
    /**
     * 绘本详情页面
     */
    private List<PageModel> pages;
    /**
     * 阅读量
     */
    private Integer readQuantity;
    /**
     * 推荐绘本
     */
    private List<PictureBooksInfo> recommendBooks;
}
